package com.taxshare.purchaser.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.taxshare.purchaser.entity.InvoiceCollectionsEntity;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface InvoiceCollectionsMapper extends BaseMapper<InvoiceCollectionsEntity> {


    //删除主表重复数据
    @Delete("delete from t_invoice_collections where fphm = #{fphm}")
    void deleteInvoiceCollections(@Param("fphm") String fphm);


    //入库主数据
    void insertInvoiceCollections(InvoiceCollectionsEntity entity);
}
